<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>管理员主页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
    <script src="https://code.jquery.com/jquery.js"></script>
    <!-- 包括所有已编译的插件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body style="padding-top: 90px;">
    <script type="text/javascript">
        function load(){//界面刷新时显示所有用户的信息
            $.ajax({
                type:'',
                url:"",
                data:{

                },
                success:function(){

                },
                error:function () {
                    alert("failed")

                }
            });
        }
        function checkfile(){//查看文章
            $.ajax({
                type:'',
                url:"",
                data:{

                },
                success:function(){

                },
                error:function () {
                    alert("failed")
                }
            })
        }	
        function edited(){//编辑文章
            $.ajax({
                type:'',
                url:"",
                data:{

                },
                success:function(){

                },
                error:function () {
                    alert("failed")
                }
            })
        }	
        function deletefile(){//删除文章
            $.ajax({
                type:'',
                url:"",
                data:{

                },
                success:function(){

                },
                error:function () {
                    alert("failed")
                }
            })
        }	
    </script>
<div class="container-fluid">
    <!-- 上部导航栏 -->
    <nav class="navbar navbar-default navbar-fixed-top" role="navigation" style="background-color: #660066;">
        <div class="container-fluid" >
            <div class="navbar-header">
                <a class="navbar-brand" style="margin-left: 20px;color: rgb(255, 255, 255);" href="https://www.baidu.com/">主页</a>
            </div>
            <div>
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size: 18px;margin-left: 40px;color: rgb(255, 255, 255);">
                            硬件信息<b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu" style="background-color: #660066;">
                            <li><a href="#" style="font-size: 18px;color: rgb(255, 255, 255);">CPU</a></li>
                            <li><a href="#" style="font-size: 18px;color: rgb(255, 255, 255);">显卡</a></li>
                            <li><a href="#" style="font-size: 18px;color: rgb(255, 255, 255);">内存</a></li>
                            <li><a href="#" style="font-size: 18px;color: rgb(255, 255, 255);">硬盘</a></li>
                            <li><a href="#" style="font-size: 18px;color: rgb(255, 255, 255);">笔记本</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <div class="navbar-header">
                <a class="navbar-brand" href="#" style="margin-left: 40px;color: rgb(255, 255, 255);">社区交流</a>
            </div>
            <div>
                <form class="navbar-form navbar-left" role="search" style="margin-left: 650px;">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="输入查找的内容" style="width: 300px;">
                    </div>
                    <a href="https://www.baidu.com/">
                        <img src="search.png" width="35px" height="35px">
                    </a>
                </form>
            </div>
            <div>
                <a href="https://www.baidu.com/"><img src="头像.png" style="width: 37px;margin-top: 8px;"></a>
            </div>
        </div>
    </nav>

        <!-- 左部导航栏 -->
        <div class="col-md-2" style="margin-left:0px;margin-top:40px;">
            <div class="panel-group" id="accordion" >
                <div class="panel panel-default" >
                    <div class="panel-heading" style="background-color: purple;">
                        <h5 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
                                <h5><span class="glyphicon glyphicon-th-list" style="color: rgb(231, 237, 238); font-size: 20px;"> 功能页面</span></h5>
                            </a>
                        </h5>
                    </div>
                    <div id="collapseOne" class="panel-collapse collapse in">
                        <div class="panel-body">
                            <div class="list-group">
                                <a class="list-group-item" style="color: rgb(117, 75, 187); font-size: 19px;" href="#">编辑文章</a>
                                <a class="list-group-item" style="color: rgb(117, 75, 187); font-size: 19px;" href="#">更新硬件</a>
                                <a class="list-group-item" style="color: rgb(117, 75, 187); font-size: 19px;" href="#">新增硬件</a>
                                <a class="list-group-item" style="color: rgb(117, 75, 187); font-size: 19px;" href="#">添加整机</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-md-10 column">
            <div class="page-header">
                <h1 style="font-family: 微软雅黑;font-weight: bold;">已发布的文章</h1>
            </div>
                <div class="col-md-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            >>
                        </div>
                        <div class="panel-body">
                            <div class="container-fluid">
                                <div class="col-md-9">
                                    <a onclick="checkfile()"><h4>Panel footer</h4></a>
                                </div>
                                <div class="col-md-1">
                                    <p style="margin-top: 10px">2017/05/06</p>
                                </div>
                                <div class="col-md-1">
                                    <button onclick="edited()" type="button" class="btn btn-default">编辑</button>
                                </div>
                                <div class="col-md-1">
                                    <button onclick="deletefile()" type="button" class="btn btn-default">删除</button>
                                </div>
                            </div>
                        </div>
                        <div class="panel-footer">
                            <div class="container-fluid">
                                <div class="col-md-9">
                                    <a onclick="checkfile()"><h4>Panel footer</h4></a>
                                </div>
                                <div class="col-md-1">
                                    <p style="margin-top: 10px">2017/05/06</p>
                                </div>
                                <div class="col-md-1">
                                    <button onclick="edited()" type="button" class="btn btn-default">编辑</button>
                                </div>
                                <div class="col-md-1">
                                    <button onclick="deletefile()" type="button" class="btn btn-default">删除</button>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>


    </div>

<!--                <div class="col-md-3" style="border:solid 2px purple;">-->
<!--                    <h2>OpenFlow协议详解</h2> <date>2019 12 17</date>-->
<!--                </div>-->
<!--                <div class="col-md-4">-->
<!--                    &lt;!&ndash;                    <p style="border:solid 2px purple;">P4编程实战分享&#45;&#45;（1）</p>&ndash;&gt;-->
<!--                </div>-->


        </div>
</div>
</body>
</html>